package by.grsu.verkhovodko.entity;


import java.util.Date;

public class Train extends AbstractModel {
	
	/**
	 * 
	 */
	private static final long serialVersionUID = 8016955245782492000L;
	//private Long id;
	private String destStation;
	private Date dateOfDeparture;	
	private int cost;
	
	/*public Long getId() {
		return id;
	}
	public void setId(Long id) {
		this.id = id;
	}*/
	public String getDestStation() {
		return destStation;
	}
	public void setDestStation(String destStation) {
		this.destStation = destStation;
	}
	public Date getDateOfDeparture() {
		return dateOfDeparture;
	}
	public void setDateOfDeparture(Date dateOfDeparture) {
		this.dateOfDeparture = dateOfDeparture;
	}
	public int getCost() {
		return cost;
	}
	public void setCost(int cost) {
		this.cost = cost;
	}
	/*@Override
	public String toString() {
		return "Train [id=" + id + ", destStation=" + destStation
				+ ", dateOfDeparture=" + dateOfDeparture + ", cost=" + cost
				+ "]";
	}

	*/

}
